<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <script type="text/javascript" src="../public/scripts//validation.js"/>
        <link rel="stylesheet" href="../public/media/stylesheet/style1.css" type="text/css" title="vika_style"/>
        <link rel="alternate stylesheet" href="../public/media/stylesheet/style2.css" type="text/css" title="cill_style"/>
        <title>Photo World::Upload a photo</title>
    </head>
    
    <body>
        <div id="wrapper">
            <div id="header">
                <h1 id="header_title"></h1>
            </div>
            
            <div id="content_wrapper">
                <div id="nav_menu">
                    <ul>
                        <li><a href="album.xhtml">Home</a></li>
                        <li><a href="register.xhtml">Registration</a></li>
                        <li><a href="upload.xhtml">Upload</a></li>
                        <li><a href="album.xhtml">Album</a></li>
                    </ul>
                </div>

                <div id="content">
                    <form id="upload_form" action="">
                        <fieldset>
                            <legend>Upload a new photo</legend>
                            <div class="row">
                            <label for="photo" accesskey="p">Photo :</label>
                            <input type="file" id="photo" name="photo" onchange="validateForm('upload_form', this.id)"/>
                            <span id="photo_validation"></span><br/>
                            </div>

                            <div class="row">
                            <label for="desc" accesskey="d">Description :</label>
                            <input type="text" id="desc" name="desc" onchange="validateForm('upload_form', this.id)"/>
                            <span id="desc_validation"></span><br/>
                            </div>

                            <div class="row">
                            <label for="tag" accesskey="t">Tag :</label>
                            <input type="text" id="tag" name="tag" onchange="validateForm('upload_form', this.id)"/>
                            <span id="tag_validation"></span><br/>
                            </div>

                            <div class="row">
                            <label for="photodate" accesskey="h">Date :</label>
                            <input type="text" id="photodate" name="photodate" onchange="validateForm('upload_form', this.id)" onclick="makeTable(true, null, null, this.id)"/>
                            <div id="calendarPopup">
                                <table id="calendarPopupTable">
                                    <tr>
                                        <td>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                            <span id="photodate_validation"></span><br/>
                            </div>

                            <div class="submit">
                            <input type="submit" value="submit" />
                            </div>
                        </fieldset>
                    </form>
                </div>
            </div>

            <div id="footer">
                Photo World © 2011<br/>
                <a href="#" onclick="switchCss()">Switch CSS</a>
                <a href="#">About</a>
                <a href="#">Terms</a>
                <a href="#">Help</a>
            </div>
        </div>
    </body>
</html>
